package com.jason.happy;

import android.os.Bundle;

import com.facebook.drawee.view.SimpleDraweeView;
import com.jason.happy.module.framework.BaseMVPActivity;

import org.xutils.view.annotation.ViewInject;

public class SplashActivity extends BaseMVPActivity<SplasLogicView, SplashLogicPresenter> {


    @ViewInject(R.id.splash)
    private SimpleDraweeView splashView;

    @Override
    public SplashLogicPresenter createPresenter() {
        return new SplashLogicPresenter();
    }

    @Override
    public void initWeight(Bundle savedInstanceState) {
        mLogicPresenter.loadSplashGraphic(splashView);
    }

    @Override
    public int getContentView() {
        return R.layout.activity_splash;
    }
}
